package com.xinqi.modules.sys.feedback.dto.rsp;

import com.xinqi.common.core.enums.FeedbackModeEnum;
import com.xinqi.common.core.enums.FeedbackTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户反馈表-响应对象
 *
 * @author: yyzhenn
 * @date: 2023/04/23
 */
@Data
@Schema(description = "用户反馈表-响应对象")
public class FeedbackResultDTO implements Serializable {

    @Schema(description = "", example = "")
    private Long id;

    @Schema(description = "创建者", example = "")
    private Long createBy;

    @Schema(description = "投诉时间", example = "")
    private LocalDateTime createTime;

    @Schema(description = "反馈类型", example = "")
    private FeedbackTypeEnum type;

    @Schema(description = "反馈内容", example = "")
    private String content;

    @Schema(description = "图片集 多张用JSON格式", example = "")
    private String images;

    @Schema(description = "查看状态 0 未查看 1已查看", example = "")
    private Integer status;

    @Schema(description = "反馈方式", example = "")
    private FeedbackModeEnum mode;

    @Schema(description = "奖品", example = "")
    private String prize;

    @Schema(description = "发放状态 0未发放 1已发放", example = "")
    private Integer grant;

    @Schema(description = "奖品发放人", example = "")
    private Long grantUser;

    @Schema(description = "奖品发放时间", example = "")
    private LocalDateTime grantTime;

    @Schema(description = "真实姓名", example = "")
    private String trueName;

    @Schema(description = "联系方式", example = "")
    private String contact;

    @Schema(description = "收货地址", example = "")
    private String address;

    @Schema(description = "反馈用户", example = "")
    private Long feedbackUserId;

    @Schema(description = "反馈用户", example = "")
    private String feedbackUser;

}
